!pr0
!lm12
!rm75
!bm1
Revised Monitor Patch for ASCII Display....Bob Sander-Cederlof

Peter Bartlett gave us a nice patch to the Apple Monitor to add ASCII display to the memory dump command.  It was published in the Dec 1981 issue of Apple Assembly Line, pages 18-20.  You may remember that Peter's patch over-wrote the cassette tape code.  Last summer I received two suggested modifications to Peter's code, and at last I pass them on to you.

Bruce Field, from Rockville, Maryland:  "I finally got around to building my own EPROM burner the other day, and one of the first things I did was to modify my F8 ROM to include an ASCII listing with the hex dump.  I used the routine originally submitted by Peter Bartlett.  I found a minor problem with this code.

"The problem is that I have the modified ROM on an Integer BASIC card, and an unmodified ROM on the mother board.  If I am in the modified ROM and want to soft-switch back to the mother board, typing 'C081' should do it.  But with Peter's patch location C081 is accessed inside the patch itself, so the card switches off with PC pointing inside the cassette tape code!

"My solution is to leave the loading of the memory location in its original position.  This makes the patch slightly longer, but it still fits inside the cassette tape space.  Also, since I detest flashing characters, I filter these out.  I force control characters to inverse mode, and all others to normal video."

<Bruce's code here>

Brooke Boering, from Schaumburg, Illinois:  "Here is a slightly modified version of Peter Bartlett's monitor patch.  I modify control characters to display as an underline character, and lower case codes to inverse video.  Other characters display in normal video."

<Brooke's code here>

After assembling Bruce's version above, using the S-C Macro Assembler resident in my language card, I installed the patch by typing:

     $C083 C083     (write enable RAM card)
     $FCC9<CC9.CE3M (move the patch into the
                    cassette space)
     $FDBE:C9 FC    (install patch address in JSR)

And it worked!  To install Brooke's code I had to move a few more bytes:

     $FCC9<CC9.CE9M

If you have an Apple //e, or a lower case display adapter in an older Apple, you will not want to display lower case characters in inverse mode.  Everyone seems to have their own preferences about how to display the 256 possible hex values on Apple's screen.  Choose your own favorite
